﻿<template>
    <div>
        <form class="layui-form updateform" action="#">


            <el-form class="demo-form-inline" label-width="140px">
                <el-row :gutter="24" class="row-bg">
                    <el-col :span="3">
                        <el-input placeholder="请输入角色名称" clearable v-model="txtname"></el-input>
                    </el-col>
                    <el-col :span="2" style="text-align:left">
                        <el-button icon="el-icon-search" size="medium" @click="GettableData()">搜索</el-button>
                    </el-col>
                    <el-col :span="2" style="text-align:right">
                        <el-button icon="el-icon-circle-plus-outline" type="warning" size="medium" style="width:100px" @click=" btnAddDepartment()">添加角色</el-button>
                    </el-col>
                </el-row>
            </el-form>



            <table class="layui-table" lay-size="lg">
                <colgroup>
                    <col width="150">
                    <col>
                </colgroup>
                <thead>
                    <tr>
                        <th colspan="2" class="role_update_title">正在编辑Admin 功能权限</th>
                    </tr>
                </thead>
                <tr>
                    <td colspan="2">
                        <input class="layui-btn layui-btn-fluid update_role" value="修改数据权限" />
                        <input type="hidden" value="@ViewBag.roid" name="Id" class="roleid" />
                        <input type="hidden" value="" name="data_tables_id" class="rolenumber" />
                    </td>
                </tr>
            </table>
        </form>


    </div>
</template>
<script>
    export default {
        name: "DataPermissions",
        props:{
            GetDataPermissionsDB:{
               type:Object,
                required: true
            },
        },
        created() {
            console.log(this.GetDataPermissionsDB);
        },
        data() {
            return {
               
            }
        },
        methods: {
            

        },
        mounted: function () {
 
        },
    }
</script>